package common.dvd;

import java.io.Serializable;

public class DVD implements Serializable{
	private Long id;
	
	private String title;
	
	private String director;

	public DVD(Long id, String title, String director) {
		this.id = id;
		this.title = title;
		this.director = director;
	}
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("id: ");
		sb.append(String.valueOf(id));
		sb.append(" - ");
		sb.append("title: ");
		sb.append(title);
		sb.append(" - ");
		sb.append("director: ");
		sb.append(director);
		return sb.toString();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}
	
	
	
	
}
